package cn.kgc.jdktest.demo11;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:yaozhaobao
 * @Description:TODO
 * @version:1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ExcelTarget("orders")
public class Order {

    @Excel(name = "订单编号", width = 20.0)
    private String no;
    @Excel(name = "订单名称", width = 15.0)
    private String name;
}